import { httppost } from "@/plugins/request/getSignRequest"
//查询书籍列表
export function getBookList(data) {
  return httppost({
    URL: "/shop/detail/getBookList",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//查询借书订单历史记录
export function getBookHistoryList(data) {
  return httppost({
    URL: "/shop/detail/getBookHistoryList",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//书籍归还(关闭订单)
export function completeServiceOrder(data) {
  return httppost({
    URL: "/shop/order/completeServiceOrder",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//书籍归还(扫码归还)
export function completeServiceOrderScan(data) {
  return httppost({
    URL: "/shop/order/completeServiceOrderScan",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
